package com.ruoyi.project.in.stockindetail.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 入库单子管理表 in_stockin_detail
 *
 * @author sys
 * @date 2021-10-28
 */
public class StockinDetail implements Serializable {

    /**
     * 入库单据子表id（不允许为空）主键
     */
    private String stockinDetailId;
    /**
     * 入库单主表guid
     */
    private String stockinGuid;
    /**
     * 入库单主表id（不允许为空）
     */
    private String stockinId;
    /**
     * 批号（允许为空）
     */
    private String lotNo;
    /**
     * 物品guid
     */
    private String productGuid;
    /**
     * 物资id（不允许为空）
     */
    private String productId;
    /**
     * 计划数量（允许为空）
     */
    private BigDecimal quantity;
    /**
     *
     */
    private Integer quantityX;
    /**
     *
     */
    private Integer quantityJ;
    /**
     * 单价（允许为空）
     */
    private String price;
    /**
     * 货物编号
     */
    private String cargoNo;
    /**
     * 备注
     */
    private String remark;
    /**
     * 实际数量（允许为空）
     */
    private BigDecimal assignNum;
    /**
     *
     */
    private Integer assignNumX;
    /**
     *
     */
    private Integer assignNumJ;

    private String productName;

    private String printDate;
    private String stockStatus;
    private String productStatus;
    private String weight;
    private String productionTime;
    private String model;
    private String spec;

    /**
     * 供应商id（不允许为空）
     */
    private String supplierId;
    private String supplierName;
    private String customerId;
    private String customerName;

    /**
     * 单位
     */
    private String unit;

    /**
     * 库房
     */
    private String warehouseId;

    private String trayCode;

    private  String stockinDId;

    private String uniqueCode;

    public String getUniqueCode() {
        return uniqueCode;
    }

    public void setUniqueCode(String uniqueCode) {
        this.uniqueCode = uniqueCode;
    }

    public String getStockinDId() {
        return stockinDId;
    }

    public void setStockinDId(String stockinDId) {
        this.stockinDId = stockinDId;
    }

    public String getTrayCode() {
        return trayCode;
    }

    public void setTrayCode(String trayCode) {
        this.trayCode = trayCode;
    }

    public String getProductStatus() {
        return productStatus;
    }

    public void setProductStatus(String productStatus) {
        this.productStatus = productStatus;
    }

    public BigDecimal getAssignNum() {
        return assignNum;
    }

    public void setAssignNum(BigDecimal assignNum) {
        this.assignNum = assignNum;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getProductionTime() {
        return productionTime;
    }

    public void setProductionTime(String productionTime) {
        this.productionTime = productionTime;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getPrintDate() {
        return printDate;
    }

    public void setPrintDate(String printDate) {
        this.printDate = printDate;
    }

    public String getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(String stockStatus) {
        this.stockStatus = stockStatus;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public void setStockinDetailId(String stockinDetailId) {
        this.stockinDetailId = stockinDetailId;
    }

    public String getStockinDetailId() {
        return stockinDetailId;
    }

    public void setStockinGuid(String stockinGuid) {
        this.stockinGuid = stockinGuid;
    }

    public String getStockinGuid() {
        return stockinGuid;
    }

    public void setStockinId(String stockinId) {
        this.stockinId = stockinId;
    }

    public String getStockinId() {
        return stockinId;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setProductGuid(String productGuid) {
        this.productGuid = productGuid;
    }

    public String getProductGuid() {
        return productGuid;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductId() {
        return productId;
    }


    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public void setQuantityX(Integer quantityX) {
        this.quantityX = quantityX;
    }

    public Integer getQuantityX() {
        return quantityX;
    }

    public void setQuantityJ(Integer quantityJ) {
        this.quantityJ = quantityJ;
    }

    public Integer getQuantityJ() {
        return quantityJ;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPrice() {
        return price;
    }

    public void setCargoNo(String cargoNo) {
        this.cargoNo = cargoNo;
    }

    public String getCargoNo() {
        return cargoNo;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }


    public void setAssignNumX(Integer assignNumX) {
        this.assignNumX = assignNumX;
    }

    public Integer getAssignNumX() {
        return assignNumX;
    }

    public void setAssignNumJ(Integer assignNumJ) {
        this.assignNumJ = assignNumJ;
    }

    public Integer getAssignNumJ() {
        return assignNumJ;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }


    @Override
    public String toString() {
        return "StockinDetail{" +
                "stockinDetailId='" + stockinDetailId + '\'' +
                ", stockinGuid='" + stockinGuid + '\'' +
                ", stockinId='" + stockinId + '\'' +
                ", lotNo='" + lotNo + '\'' +
                ", productGuid='" + productGuid + '\'' +
                ", productId='" + productId + '\'' +
                ", quantity=" + quantity +
                ", quantityX=" + quantityX +
                ", quantityJ=" + quantityJ +
                ", price='" + price + '\'' +
                ", cargoNo='" + cargoNo + '\'' +
                ", remark='" + remark + '\'' +
                ", assignNum=" + assignNum +
                ", assignNumX=" + assignNumX +
                ", assignNumJ=" + assignNumJ +
                ", productName='" + productName + '\'' +
                ", printDate='" + printDate + '\'' +
                ", stockStatus='" + stockStatus + '\'' +
                ", productStatus='" + productStatus + '\'' +
                ", productionTime='" + productionTime + '\'' +
                ", model='" + model + '\'' +
                ", spec='" + spec + '\'' +
                ", supplierId='" + supplierId + '\'' +
                ", supplierName='" + supplierName + '\'' +
                ", customerId='" + customerId + '\'' +
                ", customerName='" + customerName + '\'' +
                ", unit='" + unit + '\'' +
                ", stockinDId='" + stockinDId + '\'' +
                ", warehouseId='" + warehouseId + '\'' +
                '}';
    }
}
